package zust.javaee.service;

import zust.javaee.dto.activity.ActivityDto;
import zust.javaee.entity.Tactivity;

import java.util.List;

/**
 * Created by liy on 2017/1/9.
 */
public interface ActivityService extends BaseService<Tactivity> {

//    boolean checkJoinActivity(Integer playerId, Integer activityId);

    ActivityDto transToDto(Tactivity tactivity);
    List<ActivityDto> transToDtos(List<Tactivity> tactivities);
    List<ActivityDto> transToDtos(Integer playerId, List<Tactivity> tactivities);

    Tactivity getActivityById(Integer id);
    List<Tactivity> getActivityByCorporId(Integer corporId);
    List<Tactivity> getActivityByCorporId(Integer corporId, Integer num);



}
